import request from '../util/request'
//获取知识库列表
export let getStoreList = () => request.get('/api/store')

//创建知识库
export let create = params => request.post('/api/store',params);

//删除知识库
export let destroy = id => request.delete(`/api/store/${id}`);

//修改知识库
export let update = (params,id) => request.put(`/api/store/${id}`,params);